package com.situ.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.situ.model.ProductReview;

import java.util.List;
import java.util.Map;

public interface ProductReviewService {
    Page<ProductReview> findAll(Page<ProductReview> page,ProductReview productReview);


    Boolean save(ProductReview productReview);

    boolean update(ProductReview productReview);

    int deleteByIds(List<Integer> ids);

    //返回统计结果
    Map<String, Object> stateByProductId(Integer ProductId);

}
